import {get, post} from '@/http/request-dashboard'

// -----------人力资源相关接口----------

/**
 * 人力看板_员工缺口情况表
 * @returns {Promise<unknown>}
 */
export const getManPowerLackList = () => post('/rlkb/ygqkqk')

/**
 * 人力看板_员工总人数波动表
 */
export const getManPowerTotalList = (year) => post('/rlkb/ygzrsbd', year)

/**
 * 人力看板_人员波动排名表
 */
export const getManPowerRankList = () => post('/rlkb/rybdpm')

/**
 * 人力看板_公司人员统计表
 */
export const getManPowerCompanyList = () => post('/rlkb/gsrytjb')

/**
 * 人力看板_各部门人力成本
 */
export const getManPowerCostList = () => post('/rlkb/gbmrlcb')

/**
 * 人力看板_员工职级列表(绩效排名)
 */
export const getManPowerRankingList = (params) => post('/rlkb/ygzjlb', params)

/**
 * 人力看板_员工画像
 */
export const getManPowerPortraitList = (params=null) => post('/rlkb/yghx',params)

/**
 * 人力看板_部门绩效列表
 */
export const getManPowerDepartmentList = () => post('/rlkb/bmjxlb')

/**
 * 人力看板_员工画像_下拉
 */
export const getManPowerPortraitSelectList = () => post('/rlkb/yghx_select')

/**
 * 人力看板_部门
 */
export const getManPowerDepartmentSelectList = () => post('/rlkb/bm')
